package org.banaan

import nl.mayisal.startup.SQLConfig
import org.banaan.metadata.Database
import org.banaan.sql.{SQLConnector}

object Startup {
  def main(arg: Array[String]) {
    println("starting  database analysis");
	SQLConfig initialize "sqlconfig.properties"
	var connection = new SQLConnector getConnection;
	var tables = (new Database()).createDatabase(connection);
	println("printing tables");
	for(table <- tables) {
	  println(table);
	}
	connection close;
    println("Database analysis done");
  }
}
